package demo3;

public class Test {
    public static void main(String[] args) {

    }
}
class Animal {
    public void fun() {
        System.out.println("1234");
    }
}
class Dog extends Animal {

    public final void ace() {
        fun();
    }
    public void ace(int a) {

    }
}